package com.sec.security.service;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

import com.sec.base.utils.AjaxJson;

public interface SecurityService {

	public AjaxJson encryptTxt(HttpServletRequest request, String originalText, String password);

	public AjaxJson decryptTxt(HttpServletRequest request, String cipherText, String password);

	public AjaxJson encryptPic(MultipartFile file, HttpServletRequest request, String password);

	public AjaxJson decryptPic(HttpServletRequest request, String content, String password);
}
